package com.renli.service;


import com.renli.bean.ResultJson;
import com.renli.pojo.Login;
import com.renli.pojo.User;

import java.util.Map;

public interface LoginService {
    Login findByName(String username);

    int add(Login login);




    public String checkToken(String  name);
    public Login getLogin(String name);

    public ResultJson checkName(String name);


    public  boolean  saveToken(String name,String  token);

    User login(Login login);


    ResultJson checkPassword(Map<String, String> map);
}
